/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cassys.ejb.sessionbean;

import cassys.dataaccess.DAOException;
import cassys.datatransferobjects.ModuleDTO;
import cassys.datatransferobjects.TeamDTO;
import java.util.ArrayList;
import javax.ejb.LocalBean;
import javax.ejb.Remote;

/**
 *
 * @author User
 */

@Remote
@LocalBean
public interface ModuleBeanRemote {
    
     ArrayList<ModuleDTO> findAllModules() throws DAOException;
     ModuleDTO findModule(String moduleCode) throws DAOException;
     void insertModule(ModuleDTO module) throws DAOException;
     void updateModule(ModuleDTO module) throws DAOException;
     void deleteModule(ModuleDTO module) throws DAOException;
     
}
